﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace IgrMensageiros.UI
{
    public partial class UI_TelaSplash : Form
    {
        public UI_TelaSplash()
        {
            InitializeComponent();
        }

        private void timer1_Tick(object sender, EventArgs e)
        {
            if (pBCarregar.Value < 100)
            {
                pBCarregar.Value = pBCarregar.Value + 2;
            }
            else
            {
                timerCarregando.Enabled = false;
                this.Visible = false;
                UI_logon login = new UI_logon();
                login.ShowDialog();
            }
        }
    }
}
